﻿using System;
using System.Xml.Serialization;

namespace GC_FFW.BusinessEntities.Soccerfame.Xml
{
	public class Name : ICloneable
	{
		#region Properties

		[XmlAttribute("invalid-value")]
		public string InvalidValue { get; set; }

		[XmlAttribute("valid-value")]
		public string ValidValue { get; set; }

		#endregion

		#region ICloneable Members

		public object Clone()
		{
			return new Name
			{
				InvalidValue = InvalidValue != null
					? InvalidValue.Clone() as string
					: null,
				ValidValue = ValidValue != null
					? ValidValue.Clone() as string
					: null
			};
		}

		#endregion
	}
}
